<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2023-06-07
  Time: 10:59
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<form action="/add">
    <input type="submit" name="add" value="添加">
</form>
<table border="1">
    <tr>
        <th>编号</th>
        <th>租赁方式</th>
        <th>租金（元）</th>
        <th>联系人</th>
        <th>押金方式</th>
        <th>房屋类型</th>
        <th>详细地址</th></tr>
    <c:forEach items="${list}" var="fz">
        <tr>
        <th>${fz.id}</th>
        <th>${fz.mode}</th>
        <th>${fz.rent}</th>
        <th>${fz.cont}</th>
        <th>${fz.method}</th>
        <th>${fz.house}</th>
        <th>${fz.addr}</th>
        </tr>
    </c:forEach>
</table>
</body>
</html>
